<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="../../public/public.jsp" %>
<jsp:include page="../../public/publishCssAndJS.jsp" flush="true"></jsp:include>
<s:if test="formMap.flag[0]=='reviewPeriod'">
<table cellspacing="1px" class="add_ModelTableStyle" align="center" >
	<input type="hidden" id="po.judgeState" value="<s:property value="obj.judgeState"/>"/>
	<tr>
			<td colspan="2" class="add_title" align="center">
				&nbsp;评&nbsp;审&nbsp;阶&nbsp;段&nbsp;
			</td>
		</tr>
		
	<tr>
		<td class="add_leftcellStyle">编制申报材料:</td>
		<td class="add_rightcellStyle"><input type="text" name="编制申报材料" id="po.editmaterial" value="<s:property value="obj.editmaterial"/>" onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})" > </td>
	</tr>
	<tr>
		<td class="add_leftcellStyle">申报单位审核:</td>
		<td class="add_rightcellStyle"><input type="text" name="申报单位审核" id="po.unitaudit" value="<s:property value="obj.unitaudit"/>" onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})" >  </td>
	</tr>
	<tr>
		<td class="add_leftcellStyle">公司审核:</td>
		<td class="add_rightcellStyle"><input type="text" name="公司审核" id="po.companyaudit" value="<s:property value="obj.companyaudit"/>" onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})" >  </td>
	</tr>
	<tr>
		<td class="add_leftcellStyle">签字盖章:</td>
		<td class="add_rightcellStyle"><input type="text" name="签字盖章" id="po.seal" value="<s:property value="obj.seal"/>" onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})" > </td>
	</tr>
	<tr>
		<td class="add_leftcellStyle">报审:</td>
		<td class="add_rightcellStyle"><input type="text" name="报审" id="po.submission" value="<s:property value="obj.submission"/>" onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})" >  </td>
	</tr>
	<tr>
		<td class="add_leftcellStyle">公示:</td>
		<td class="add_rightcellStyle"><input type="text" name="公示" id="po.publicity" value="<s:property value="obj.publicity"/>" onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})" > </td>
	</tr>
	<tr>
		<td class="add_leftcellStyle">正式发文:</td>
		<td class="add_rightcellStyle"><input type="text" name="正式发文" id="po.officialdocument" value="<s:property value="obj.officialdocument"/>" onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})" > </td>
	</tr>
	<tr>
		<td class="add_leftcellStyle">表彰:</td>
		<td class="add_rightcellStyle"><input type="text" name="表彰" id="po.commend" value="<s:property value="obj.commend"/>" onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})" > </td>
	</tr>
	<tr class="model_root_buttonAreaStyle">
		<td colspan="2" class="model_root_buttonAreaStyle" align="center">
			<input type="button" value="&nbsp;确&nbsp;定&nbsp;" onclick="addReviewPeriod(); " class='model_buttonInput'/>
			&nbsp;&nbsp;
						<input type="button" value="&nbsp;取&nbsp;消&nbsp;" onclick="window.close()" class='model_buttonInput' />
		</td>
	</tr>
</s:if>
<s:else>
<table>
	<tr>
		<td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
		<td valign="top">
			<s:if test="formMap.flag[0]=='platform'">
			所属平台:<br/>
			</s:if>
			<s:elseif test="formMap.flag[0]=='company'">
			单位:<br/>
			</s:elseif>
			<s:elseif test="formMap.flag[0]=='department'">
			部门:<br/>
			<select multiple="multiple" id="optional" style="width:250px;height: 220px;" ondblclick="addItem('<s:property value="formMap.selectType"/>');">
				<s:iterator value="data">
					<option value="<s:property value="id"/>"><s:property value="deptCname"/>
				</s:iterator>
			</select>
			<br/>
			
			</s:elseif>
			<s:elseif test="formMap.flag[0]=='identifyOrg'">
			机构:<br/>
			</s:elseif>
			<s:elseif test="formMap.flag[0]=='majorType'">
			专业类型:<br/>
			</s:elseif>
			<s:elseif test="formMap.flag[0]=='levelName'">
			级别名称:<br/>
			</s:elseif>
			<s:elseif test="formMap.flag[0]=='reviewPeriod'">
			
			</s:elseif>
			<s:if test="formMap.flag[0]!='department' && formMap.flag[0]!='reviewPeriod'">
			<select multiple="multiple" id="optional" style="width:250px;height: 220px;" ondblclick="addItem('<s:property value="formMap.selectType"/>');">
				<s:iterator value="data">
					<option value="<s:property value="value"/>_<s:property value="description"/>"><s:property value="text"/>
				</s:iterator>
			</select>
			<br/>
				<s:if test="formMap.flag[0]=='platform'">新增备选平台:
				</s:if>
				<s:elseif test="formMap.flag[0]=='company'">新增备选单位:
				</s:elseif>
				<s:elseif test="formMap.flag[0]=='department'">新增备选部门:
				</s:elseif>
				<s:elseif test="formMap.flag[0]=='identifyOrg'">新增备选机构:
				</s:elseif>
				<s:elseif test="formMap.flag[0]=='majorType'">新增备选专业类型:
				</s:elseif>
				<s:elseif test="formMap.flag[0]=='levelName'">新增备选级别名称:
				</s:elseif><br/>
				<input type="text" id="external" size="33" value="">
			</s:if>
		</td>
		<td>
			<br/>
			<br/><br/>
			<input type="button" value="添加=>" onclick="addItem('<s:property value="formMap.selectType"/>');" class='model_buttonInput'/>
			<br/><br/>
			<br/><br/>
			<input type="button" value="<=删除" onclick="removeItem();" class='model_buttonInput'/>
			<br/><br/>
			<br/><br/><br/>
			<input type="button" value="新增" onclick="addItemed('<s:property value="formMap.selectType"/>');" class='model_buttonInput'/>
		<br/></td>
		<td valign="top">
			<s:if test="formMap.flag[0]=='platform'">
			已选平台:<br/>
			</s:if>
			<s:elseif test="formMap.flag[0]=='company'">
			已选单位:<br/>
			</s:elseif>
			<s:elseif test="formMap.flag[0]=='department'">
			已选部门:<br/>
			</s:elseif>
			<s:elseif test="formMap.flag[0]=='identifyOrg'">
			已选机构:<br/>
			</s:elseif>
			<s:elseif test="formMap.flag[0]=='majorType'">
			已选专业类型:<br/>
			</s:elseif>
			<s:elseif test="formMap.flag[0]=='levelName'">
			已选级别名称:<br/>
			</s:elseif>
			<s:elseif test="formMap.flag[0]=='reviewPeriod'">
			已选评审阶段:<br/>
			</s:elseif>
			<select id="selectedData" multiple="multiple"  style="width:250px;height: 220px;" ondblclick="removeItem();">
			</select>
		<br></td>
	</tr>
	<tr>
		<td colspan="4" align="center">
		&nbsp;&nbsp;
		</td>
	</tr>
	<tr>
		<td colspan="4" align="center"><input type="button" value="&nbsp;确&nbsp;定&nbsp;" onclick="addMultiChoice();" class='model_buttonInput'> 
		&nbsp;&nbsp;
		<input type="button" value="&nbsp;取&nbsp;消&nbsp;" onclick="window.close()" class='model_buttonInput' />
		</td>
		
	</tr>
</table>
</s:else>

